We ofte make plots in data science.

Here’s the tidyverse.

library(tidyverse)

Here’s a dataframe.

plot_df = 
  tibble(
    x = rnorm(100, mean=1, sd=2),
    y=1+2*x+rnorm(100)
  )

Here’s a plot

plot_df |>
  ggplot(aes(x=x, y=y)) +
  geom_point()

Go back to the home page.

Here’s a picture of Ireland: